#cmake_minimum_required(VERSION 2.6)
if(UNIX)
ADD_DEFINITIONS(-Wall)
endif(UNIX)

find_package( Qt4 REQUIRED QUIET) 
find_package( Qwt5 REQUIRED QUIET) 

include ( ${QT_USE_FILE})
include_directories( ${BOOST_ROOT} ${Qwt5_INCLUDE_DIR} )

ADD_EXECUTABLE( qwtplot curvdemo1.cpp )
TARGET_LINK_LIBRARIES(qwtplot ${QT_LIBRARIES} ${Qwt5_Qt4_LIBRARY} )
